﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FinanceExportAdd.aspx.cs" Inherits="ITOMMS.Web.Finance.FinanceExportAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>每月费用支出添加</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
 <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />

    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>
    <script type="text/javascript" src="../js/ymPrompt.js"></script>
    <!--用到日期控件才使用-->

    <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="content1">
                        <table class="tblDataArea" width="100%">
                            <tr class="tblQueryArea">
                                <td class="tblDataCaption" colspan="6">
                                    <div style="width: 210px;" class="title">
                                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" />每月费用支出添加</div></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    科目编号</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt科目编号" runat="server" Width="148px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    科目名称</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt科目名称" runat="server" Width="159px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    单据编号</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt单据编号" runat="server" Width="147px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    单据编号</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt1" runat="server" Width="148px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    2月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt2" runat="server" Width="158px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    3月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt3" runat="server" Width="146px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    4月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt4" runat="server" Width="148px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    5月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt5" runat="server" Width="158px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    5月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt6" runat="server" Width="146px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    5月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt7" runat="server" Width="148px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    8月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt8" runat="server" Width="158px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    9月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt9" runat="server" Width="146px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    10月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt10" runat="server" Width="148px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    10月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt11" runat="server" Width="158px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    12月</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt12" runat="server" Width="146px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    总计</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt总计" runat="server" Width="148px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    经办人</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt经办人" runat="server" Width="158px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                </td>
                                <td class="tdQueryCaption">
                                </td>
                            </tr>
                            <tr class="tblQueryArea">
                                <td class="tblDataCaption" colspan="6" style="text-align: center; height: 34px;">
                                    <asp:Button ID="btnSave" runat="server" CssClass="cssButton" Text="保存"  OnClientClick="javascript:return confirm('你确认要提交吗?');" OnClick="btnSave_Click" /></td>
                            </tr>
                        </table>
                    </div>
    </form>
</body>
</html>


<script type="text/javascript">

function check()
{
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}
    
//    $("#txtTitle").attr("dataType","Require");
//    $("#txtTitle").attr("tip", " ");
//    
//    
//    $("#txtContent").attr("dataType","Require");
//    $("#txtContent").attr("tip", " ");
    

    
         $("#txt1").attr("dataType","Currency");
         $("#txt1").attr("require", "false");
         $("#txt1").attr("tip", "请输入正确的金额格式");
    
         $("#txt2").attr("dataType","Currency");
         $("#txt2").attr("require", "false");
         $("#txt2").attr("tip", "请输入正确的金额格式");
         
         $("#txt3").attr("dataType","Currency");
         $("#txt3").attr("require", "false");
         $("#txt3").attr("tip", "请输入正确的金额格式");
    
         $("#txt4").attr("dataType","Currency");
         $("#txt4").attr("require", "false");
         $("#txt4").attr("tip", "请输入正确的金额格式");
         
         $("#txt5").attr("dataType","Currency");
         $("#txt5").attr("require", "false");
         $("#txt5").attr("tip", "请输入正确的金额格式");
    
         $("#txt6").attr("dataType","Currency");
         $("#txt6").attr("require", "false");
         $("#txt6").attr("tip", "请输入正确的金额格式");
         
         $("#txt7").attr("dataType","Currency");
         $("#txt7").attr("require", "false");
         $("#txt7").attr("tip", "请输入正确的金额格式");
    
         $("#txt8").attr("dataType","Currency");
         $("#txt8").attr("require", "false");
         $("#txt8").attr("tip", "请输入正确的金额格式");
         
         $("#txt9").attr("dataType","Currency");
         $("#txt9").attr("require", "false");
         $("#txt9").attr("tip", "请输入正确的金额格式");
    
         $("#txt10").attr("dataType","Currency");
         $("#txt10").attr("require", "false");
         $("#txt10").attr("tip", "请输入正确的金额格式");
         
         $("#txt11").attr("dataType","Currency");
         $("#txt11").attr("require", "false");
         $("#txt11").attr("tip", "请输入正确的金额格式");
    
         $("#txt12").attr("dataType","Currency");
         $("#txt12").attr("require", "false");
         $("#txt12").attr("tip", "请输入正确的金额格式");
                
</script>
    